import java.util.Random;
import touchcard.TouchCard;


public class TestTCService
{
	private final static Random generator = new Random();
	private static TouchCard[] cards = new TouchCard[6];

	public static void main(String[] args){
		
		for(int i = 0; i < 6; i++ ){
			cards[i] = new TouchCard(generator.nextInt(100)+1);			

		}
		for(int i = 0; i < 6; i++ ){
			
			cards[i].start();
			try {
				Thread.sleep(generator.nextInt(50)+1);
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}

		}
		 
	
	}
}